// Font Awesome
// Font files are transferred to /public/fonts in package.json postinstall script
@import "{}/node_modules/font-awesome/less/variables.less";
@import "{}/node_modules/font-awesome/less/mixins.less";
@import "{}/node_modules/font-awesome/less/core.less";
@import "{}/node_modules/font-awesome/less/larger.less";
@import "{}/node_modules/font-awesome/less/fixed-width.less";
@import "{}/node_modules/font-awesome/less/list.less";
@import "{}/node_modules/font-awesome/less/bordered-pulled.less";
@import "{}/node_modules/font-awesome/less/animated.less";
@import "{}/node_modules/font-awesome/less/rotated-flipped.less";
@import "{}/node_modules/font-awesome/less/stacked.less";
@import "{}/node_modules/font-awesome/less/icons.less";
@import "{}/node_modules/font-awesome/less/screen-reader.less";


// overwrite path from node_modules
@font-face {
  font-family: "FontAwesome";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.eot");
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2") format("woff2"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff") format("woff"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.ttf") format("truetype"), url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.svg#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FontAwesomeFallback";
  src: url("/fonts/fontawesome-webfont.eot");
  src: url("/fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("/fonts/fontawesome-webfont.woff2") format("woff2"), url("/fonts/fontawesome-webfont.woff") format("woff"), url("/fonts/fontawesome-webfont.ttf") format("truetype"), url("/fonts/fontawesome-webfont.svg#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

// Custom font
@font-face {
  font-family: "fontello";
  src: url("https://assets.reactioncommerce.com/fonts/fontello/fontello.eot?89805351");
  src: local("☺"),
       url("https://assets.reactioncommerce.com/fonts/fontello/fontello.eot?89805351#iefix") format("embedded-opentype"),
       url("https://assets.reactioncommerce.com/fonts/fontello/fontello.woff2?89805351") format("woff2"),
       url("https://assets.reactioncommerce.com/fonts/fontello/fontello.woff?89805351") format("woff"),
       url("https://assets.reactioncommerce.com/fonts/fontello/fontello.ttf?89805351") format("truetype"),
       url("https://assets.reactioncommerce.com/fonts/fontello/fontello.svg?89805351#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "fontello-fallback";
  src: url("/resources/fonts/fontello.eot?89805351");
  src: local("☺"),
       url("/resources/fonts/fontello.eot?89805351#iefix") format("embedded-opentype"),
       url("/resources/fonts/fontello.woff2?89805351") format("woff2"),
       url("/resources/fonts/fontello.woff?89805351") format("woff"),
       url("/resources/fonts/fontello.ttf?89805351") format("truetype"),
       url("/resources/fonts/fontello.svg?89805351#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?9364559#fontello') format('svg');
  }
}
*/

.fa {
  font-family: "FontAwesome", "FontAwesomeFallback";
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello", "fontello-fallback";
  font-style: normal;
  font-weight: normal;
  speak: none;
  color: #1999dd;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-reaction-logo:before { content: '\e800'; } /* '' */
